home *** CD-ROM | disk | FTP | other *** search
- /* $Header: scaleg.h,v 3.0 88/10/10 13:52:11 ph Locked $ */
-
- /* #define DEBUG */
- #define UNDEF PIXEL_UNDEFINED
- #define Calloc(a,b) (b *) calloc((unsigned)(a), sizeof(b))
-
-
- typedef struct { /* SOURCE TO DEST COORDINATE MAPPING */
- double sx, sy; /* x and y scales */
- double tx, ty; /* x and y translations */
- double ux, uy; /* x and y offset used by MAP, private fields */
- } Mapping;
-
- /* see explanation in zoom.c */
-
- extern int zoom_debug;
- extern int zoom_coerce; /* simplify filters if possible? */
- extern int zoom_xy; /* filter x before y (1) or vice versa (0)? */
- extern int zoom_trimzeros; /* trim zeros from filter weight table? */
-